import java.util.Scanner;

public class Demo1 {

    public static void main(String[] args) {
	// write your code here
        double[] scores = new double[6];
        Scanner sc = new Scanner(System.in);
        for (int i = 1;i <= 6;i++){
            System.out.println("请输入第" + i + "个评委的成绩：");
            double score = sc.nextDouble();;
            scores[i - 1] = score;
        }
        double sum = 0;
        double avg = 0;
        for (int i = 0 ;i < scores.length;i++){
            sum += scores[i];
        }
        avg = sum / scores.length;
        System.out.println(avg);
    }
}
